/* GUI CONVERTED from rcsoisc1.p (converter v1.75) Tue Apr 10 12:05:43 2001 */
/* rcsoisc1.p - Release Management Customer Schedules                         */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.4.1.2 $                                                       */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 7.3      LAST MODIFIED: 08/13/93   BY: WUG *GE19*                */
/* REVISION: 7.3      LAST MODIFIED: 09/15/94   BY: rmh *GM22*                */
/* REVISION: 8.6      LAST MODIFIED: 10/03/96   BY: *K003* Forrest Mori       */
/* REVISION: 8.6      LAST MODIFIED: 10/18/96   BY: *K003* Vinay Nayak-Sujir  */
/* REVISION: 8.6      LAST MODIFIED: 04/15/96   BY: *K08N* Vinay Nayak-Sujir  */
/* REVISION: 8.6      LAST MODIFIED: 05/20/98   BY: *K1Q4* Alfred Tan         */
/* REVISION: 9.1      LAST MODIFIED: 08/12/00   BY: *N0KP* Mark Brown         */
/* Old ECO marker removed, but no ECO header exists *F0PN*                    */
/* $Revision: 1.4.1.2 $   BY: Jean Miller     DATE: 03/22/01   ECO: *P008*    */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/* SHIPPER CONFIRM SUBPROGRAM */

{mfdeclre.i}

define new shared variable um like pt_um no-undo.
define new shared variable site like sr_site no-undo.

define shared workfile work_sr_wkfl like sr_wkfl.

find first work_sr_wkfl.

find sr_wkfl where
   sr_wkfl.sr_userid      =  work_sr_wkfl.sr_userid and
   sr_wkfl.sr_lineid      =  work_sr_wkfl.sr_lineid and
   sr_wkfl.sr_site        =  work_sr_wkfl.sr_site and
   sr_wkfl.sr_loc         =  work_sr_wkfl.sr_loc and
   sr_wkfl.sr_lotser      =  work_sr_wkfl.sr_lotser and
   sr_wkfl.sr_ref         =  work_sr_wkfl.sr_ref
exclusive-lock no-error.

if not available sr_wkfl then do:
   create sr_wkfl.
   assign
      sr_wkfl.sr_userid      =  work_sr_wkfl.sr_userid
      sr_wkfl.sr_lineid      =  work_sr_wkfl.sr_lineid
      sr_wkfl.sr_site        =  work_sr_wkfl.sr_site
      sr_wkfl.sr_loc         =  work_sr_wkfl.sr_loc
      sr_wkfl.sr_lotser      =  work_sr_wkfl.sr_lotser
      sr_wkfl.sr_ref         =  work_sr_wkfl.sr_ref.
end.

assign
   sr_wkfl.sr_qty =  work_sr_wkfl.sr_qty.

recno = recid(sr_wkfl).

{gprun.i ""icintra.p"" "('', ?, '', false)" }
/*GUI*/ if global-beam-me-up then undo, leave.


for each work_sr_wkfl exclusive-lock:
   delete work_sr_wkfl.
end.
